3.646 \(\int \frac {(d f+e f x)^4}{(a+b (d+e x)^2+c (d+e x)^4)^2} \, dx\)

Optimal. Leaf size=279 \[ \frac {f^4 (d+e x) \left (2 a+b (d+e x)^2\right )}{2 e \left (b^2-4 a c\right ) \left (a+b (d+e x)^2+c (d+e x)^4\right )}+\frac {f^4 \left (b-\frac {4 a c+b^2}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} \sqrt {c} e \left (b^2-4 a c\right ) \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {f^4 \left (b \sqrt {b^2-4 a c}+4 a c+b^2\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{2 \sqrt {2} \sqrt {c} e \left (b^2-4 a c\right )^{3/2} \sqrt {\sqrt {b^2-4 a c}+b}} \]

[Out]

1/2*f^4*(e*x+d)*(2*a+b*(e*x+d)^2)/(-4*a*c+b^2)/e/(a+b*(e*x+d)^2+c*(e*x+d)^4)+1/4*f^4*arctan((e*x+d)*2^(1/2)*c^
(1/2)/(b-(-4*a*c+b^2)^(1/2))^(1/2))*(b+(-4*a*c-b^2)/(-4*a*c+b^2)^(1/2))/(-4*a*c+b^2)/e*2^(1/2)/c^(1/2)/(b-(-4*
a*c+b^2)^(1/2))^(1/2)+1/4*f^4*arctan((e*x+d)*2^(1/2)*c^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2))*(b^2+4*a*c+b*(-4*a*
c+b^2)^(1/2))/(-4*a*c+b^2)^(3/2)/e*2^(1/2)/c^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.54, antiderivative size = 279, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.121, Rules used = {1142, 1120, 1166, 205} \[ \frac {f^4 (d+e x) \left (2 a+b (d+e x)^2\right )}{2 e \left (b^2-4 a c\right ) \left (a+b (d+e x)^2+c (d+e x)^4\right )}+\frac {f^4 \left (b-\frac {4 a c+b^2}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} \sqrt {c} e \left (b^2-4 a c\right ) \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {f^4 \left (b \sqrt {b^2-4 a c}+4 a c+b^2\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{2 \sqrt {2} \sqrt {c} e \left (b^2-4 a c\right )^{3/2} \sqrt {\sqrt {b^2-4 a c}+b}} \]

Antiderivative was successfully verified.

[In]

Int[(d*f + e*f*x)^4/(a + b*(d + e*x)^2 + c*(d + e*x)^4)^2,x]

[Out]

(f^4*(d + e*x)*(2*a + b*(d + e*x)^2))/(2*(b^2 - 4*a*c)*e*(a + b*(d + e*x)^2 + c*(d + e*x)^4)) + ((b - (b^2 + 4
*a*c)/Sqrt[b^2 - 4*a*c])*f^4*ArcTan[(Sqrt[2]*Sqrt[c]*(d + e*x))/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(2*Sqrt[2]*Sqrt[
c]*(b^2 - 4*a*c)*Sqrt[b - Sqrt[b^2 - 4*a*c]]*e) + ((b^2 + 4*a*c + b*Sqrt[b^2 - 4*a*c])*f^4*ArcTan[(Sqrt[2]*Sqr
t[c]*(d + e*x))/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(2*Sqrt[2]*Sqrt[c]*(b^2 - 4*a*c)^(3/2)*Sqrt[b + Sqrt[b^2 - 4*a*c
]]*e)

Rule 205

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 1120

Int[((d_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> -Simp[(d^3*(d*x)^(m - 3)*(2*a +
 b*x^2)*(a + b*x^2 + c*x^4)^(p + 1))/(2*(p + 1)*(b^2 - 4*a*c)), x] + Dist[d^4/(2*(p + 1)*(b^2 - 4*a*c)), Int[(
d*x)^(m - 4)*(2*a*(m - 3) + b*(m + 4*p + 3)*x^2)*(a + b*x^2 + c*x^4)^(p + 1), x], x] /; FreeQ[{a, b, c, d}, x]
 && NeQ[b^2 - 4*a*c, 0] && LtQ[p, -1] && GtQ[m, 3] && IntegerQ[2*p] && (IntegerQ[p] || IntegerQ[m])

Rule 1142

Int[(u_)^(m_.)*((a_.) + (b_.)*(v_)^2 + (c_.)*(v_)^4)^(p_.), x_Symbol] :> Dist[u^m/(Coefficient[v, x, 1]*v^m),
Subst[Int[x^m*(a + b*x^2 + c*x^(2*2))^p, x], x, v], x] /; FreeQ[{a, b, c, m, p}, x] && LinearPairQ[u, v, x]

Rule 1166

Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Di
st[e/2 + (2*c*d - b*e)/(2*q), Int[1/(b/2 - q/2 + c*x^2), x], x] + Dist[e/2 - (2*c*d - b*e)/(2*q), Int[1/(b/2 +
 q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[b^
2 - 4*a*c]

Rubi steps

\begin {align*} \int \frac {(d f+e f x)^4}{\left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx &=\frac {f^4 \operatorname {Subst}\left (\int \frac {x^4}{\left (a+b x^2+c x^4\right )^2} \, dx,x,d+e x\right )}{e}\\ &=\frac {f^4 (d+e x) \left (2 a+b (d+e x)^2\right )}{2 \left (b^2-4 a c\right ) e \left (a+b (d+e x)^2+c (d+e x)^4\right )}-\frac {f^4 \operatorname {Subst}\left (\int \frac {2 a-b x^2}{a+b x^2+c x^4} \, dx,x,d+e x\right )}{2 \left (b^2-4 a c\right ) e}\\ &=\frac {f^4 (d+e x) \left (2 a+b (d+e x)^2\right )}{2 \left (b^2-4 a c\right ) e \left (a+b (d+e x)^2+c (d+e x)^4\right )}-\frac {\left (\left (b^2+4 a c-b \sqrt {b^2-4 a c}\right ) f^4\right ) \operatorname {Subst}\left (\int \frac {1}{\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx,x,d+e x\right )}{4 \left (b^2-4 a c\right )^{3/2} e}+\frac {\left (\left (b^2+4 a c+b \sqrt {b^2-4 a c}\right ) f^4\right ) \operatorname {Subst}\left (\int \frac {1}{\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx,x,d+e x\right )}{4 \left (b^2-4 a c\right )^{3/2} e}\\ &=\frac {f^4 (d+e x) \left (2 a+b (d+e x)^2\right )}{2 \left (b^2-4 a c\right ) e \left (a+b (d+e x)^2+c (d+e x)^4\right )}-\frac {\left (b^2+4 a c-b \sqrt {b^2-4 a c}\right ) f^4 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} \sqrt {c} \left (b^2-4 a c\right )^{3/2} \sqrt {b-\sqrt {b^2-4 a c}} e}+\frac {\left (b^2+4 a c+b \sqrt {b^2-4 a c}\right ) f^4 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} \sqrt {c} \left (b^2-4 a c\right )^{3/2} \sqrt {b+\sqrt {b^2-4 a c}} e}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.46, size = 266, normalized size = 0.95 \[ \frac {f^4 \left (-\frac {2 \left (-2 a (d+e x)-b (d+e x)^3\right )}{\left (b^2-4 a c\right ) \left (a+b (d+e x)^2+c (d+e x)^4\right )}+\frac {\sqrt {2} \left (b \sqrt {b^2-4 a c}-4 a c-b^2\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {c} \left (b^2-4 a c\right )^{3/2} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\sqrt {2} \left (b \sqrt {b^2-4 a c}+4 a c+b^2\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {c} \left (b^2-4 a c\right )^{3/2} \sqrt {\sqrt {b^2-4 a c}+b}}\right )}{4 e} \]

Antiderivative was successfully verified.

[In]

Integrate[(d*f + e*f*x)^4/(a + b*(d + e*x)^2 + c*(d + e*x)^4)^2,x]

[Out]

(f^4*((-2*(-2*a*(d + e*x) - b*(d + e*x)^3))/((b^2 - 4*a*c)*(a + b*(d + e*x)^2 + c*(d + e*x)^4)) + (Sqrt[2]*(-b
^2 - 4*a*c + b*Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*(d + e*x))/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[c]*(b
^2 - 4*a*c)^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) + (Sqrt[2]*(b^2 + 4*a*c + b*Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*
Sqrt[c]*(d + e*x))/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[c]*(b^2 - 4*a*c)^(3/2)*Sqrt[b + Sqrt[b^2 - 4*a*c]])))/(
4*e)

________________________________________________________________________________________

fricas [B]  time = 0.73, size = 2578, normalized size = 9.24 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for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*e^4))*(b^6*c - 12*a*b^4*c^2 + 48*a^2*b^2*c^3 - 64*a^3*c^4)*e^2)/((b^6*c - 12
*a*b^4*c^2 + 48*a^2*b^2*c^3 - 64*a^3*c^4)*e^2))*log((3*b^2 + 4*a*c)*e*f^12*x + (3*b^2 + 4*a*c)*d*f^12 - sqrt(1
/2)*((b^4 - 8*a*b^2*c + 16*a^2*c^2)*e*f^8 - 2*sqrt(f^16/((b^6*c^2 - 12*a*b^4*c^3 + 48*a^2*b^2*c^4 - 64*a^3*c^5
)*e^4))*(b^7*c - 12*a*b^5*c^2 + 48*a^2*b^3*c^3 - 64*a^3*b*c^4)*e^3)*sqrt(-((b^3 + 12*a*b*c)*f^8 - sqrt(f^16/((
b^6*c^2 - 12*a*b^4*c^3 + 48*a^2*b^2*c^4 - 64*a^3*c^5)*e^4))*(b^6*c - 12*a*b^4*c^2 + 48*a^2*b^2*c^3 - 64*a^3*c^
4)*e^2)/((b^6*c - 12*a*b^4*c^2 + 48*a^2*b^2*c^3 - 64*a^3*c^4)*e^2))))/((b^2*c - 4*a*c^2)*e^5*x^4 + 4*(b^2*c -
4*a*c^2)*d*e^4*x^3 + (b^3 - 4*a*b*c + 6*(b^2*c - 4*a*c^2)*d^2)*e^3*x^2 + 2*(2*(b^2*c - 4*a*c^2)*d^3 + (b^3 - 4
*a*b*c)*d)*e^2*x + ((b^2*c - 4*a*c^2)*d^4 + a*b^2 - 4*a^2*c + (b^3 - 4*a*b*c)*d^2)*e)

________________________________________________________________________________________

giac [B]  time = 0.60, size = 1370, normalized size = 4.91 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*f*x+d*f)^4/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x, algorithm="giac")

[Out]

-1/4*(((d*e^(-1) + sqrt(1/2)*sqrt(-(b*e^2 + sqrt(b^2 - 4*a*c)*e^2)*e^(-4)/c))^2*b*f^4*e^2 - 2*(d*e^(-1) + sqrt
(1/2)*sqrt(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^4*x*e + b*d^3*f^4
+ 2*a*f^4*x*e + 2*a*d*f^4)/((c*x^4*e^4 + 4*c*d*x^3*e^3 + 6*c*d^2*x^2*e^2 + 4*c*d^3*x*e + c*d^4 + b*x^2*e^2 + 2
*b*d*x*e + b*d^2 + a)*(b^2*e - 4*a*c*e))

________________________________________________________________________________________

maple [C]  time = 0.02, size = 695, normalized size = 2.49 \[ -\frac {b \,e^{2} f^{4} x^{3}}{2 \left (c \,e^{4} x^{4}+4 c d \,e^{3} x^{3}+6 c \,d^{2} e^{2} x^{2}+4 c \,d^{3} e x +b \,e^{2} x^{2}+c \,d^{4}+2 b d e x +b \,d^{2}+a \right ) \left (4 a c -b^{2}\right )}-\frac {3 b d e \,f^{4} x^{2}}{2 \left (c \,e^{4} x^{4}+4 c d \,e^{3} x^{3}+6 c \,d^{2} e^{2} x^{2}+4 c \,d^{3} e x +b \,e^{2} x^{2}+c \,d^{4}+2 b d e x +b \,d^{2}+a \right ) \left (4 a c -b^{2}\right )}-\frac {3 b \,d^{2} f^{4} x}{2 \left (c \,e^{4} x^{4}+4 c d \,e^{3} x^{3}+6 c \,d^{2} e^{2} x^{2}+4 c \,d^{3} e x +b \,e^{2} x^{2}+c \,d^{4}+2 b d e x +b \,d^{2}+a \right ) \left (4 a c -b^{2}\right )}-\frac {b \,d^{3} f^{4}}{2 \left (c \,e^{4} x^{4}+4 c d \,e^{3} x^{3}+6 c \,d^{2} e^{2} x^{2}+4 c \,d^{3} e x +b \,e^{2} x^{2}+c \,d^{4}+2 b d e x +b \,d^{2}+a \right ) \left (4 a c -b^{2}\right ) e}-\frac {a \,f^{4} x}{\left (c \,e^{4} x^{4}+4 c d \,e^{3} x^{3}+6 c \,d^{2} e^{2} x^{2}+4 c \,d^{3} e x +b \,e^{2} x^{2}+c \,d^{4}+2 b d e x +b \,d^{2}+a \right ) \left (4 a c -b^{2}\right )}-\frac {a d \,f^{4}}{\left (c \,e^{4} x^{4}+4 c d \,e^{3} x^{3}+6 c \,d^{2} e^{2} x^{2}+4 c \,d^{3} e x +b \,e^{2} x^{2}+c \,d^{4}+2 b d e x +b \,d^{2}+a \right ) \left (4 a c -b^{2}\right ) e}+\frac {f^{4} \left (-\RootOf \left (\textit {\_Z}^{4} c \,e^{4}+4 \textit {\_Z}^{3} c d \,e^{3}+c \,d^{4}+b \,d^{2}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 c \,d^{3} e +2 d e b \right ) \textit {\_Z} +a \right )^{2} b \,e^{2}-2 \RootOf \left (\textit {\_Z}^{4} c \,e^{4}+4 \textit {\_Z}^{3} c d \,e^{3}+c \,d^{4}+b \,d^{2}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 c \,d^{3} e +2 d e b \right ) \textit {\_Z} +a \right ) b d e -b \,d^{2}+2 a \right ) \ln \left (-\RootOf \left (\textit {\_Z}^{4} c \,e^{4}+4 \textit {\_Z}^{3} c d \,e^{3}+c \,d^{4}+b \,d^{2}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 c \,d^{3} e +2 d e b \right ) \textit {\_Z} +a \right )+x \right )}{4 \left (4 a c -b^{2}\right ) e \left (2 c \,e^{3} \RootOf \left (\textit {\_Z}^{4} c \,e^{4}+4 \textit {\_Z}^{3} c d \,e^{3}+c \,d^{4}+b \,d^{2}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 c \,d^{3} e +2 d e b \right ) \textit {\_Z} +a \right )^{3}+6 c d \,e^{2} \RootOf \left (\textit {\_Z}^{4} c \,e^{4}+4 \textit {\_Z}^{3} c d \,e^{3}+c \,d^{4}+b \,d^{2}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 c \,d^{3} e +2 d e b \right ) \textit {\_Z} +a \right )^{2}+6 e c \,d^{2} \RootOf \left (\textit {\_Z}^{4} c \,e^{4}+4 \textit {\_Z}^{3} c d \,e^{3}+c \,d^{4}+b \,d^{2}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 c \,d^{3} e +2 d e b \right ) \textit {\_Z} +a \right )+2 c \,d^{3}+b e \RootOf \left (\textit {\_Z}^{4} c \,e^{4}+4 \textit {\_Z}^{3} c d \,e^{3}+c \,d^{4}+b \,d^{2}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 c \,d^{3} e +2 d e b \right ) \textit {\_Z} +a \right )+b d \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*f*x+d*f)^4/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x)

[Out]

-1/2*f^4/(c*e^4*x^4+4*c*d*e^3*x^3+6*c*d^2*e^2*x^2+4*c*d^3*e*x+b*e^2*x^2+c*d^4+2*b*d*e*x+b*d^2+a)*b*e^2/(4*a*c-
b^2)*x^3-3/2*f^4/(c*e^4*x^4+4*c*d*e^3*x^3+6*c*d^2*e^2*x^2+4*c*d^3*e*x+b*e^2*x^2+c*d^4+2*b*d*e*x+b*d^2+a)*d*b*e
/(4*a*c-b^2)*x^2-3/2*f^4/(c*e^4*x^4+4*c*d*e^3*x^3+6*c*d^2*e^2*x^2+4*c*d^3*e*x+b*e^2*x^2+c*d^4+2*b*d*e*x+b*d^2+
a)/(4*a*c-b^2)*x*b*d^2-f^4/(c*e^4*x^4+4*c*d*e^3*x^3+6*c*d^2*e^2*x^2+4*c*d^3*e*x+b*e^2*x^2+c*d^4+2*b*d*e*x+b*d^
2+a)/(4*a*c-b^2)*x*a-1/2*f^4/(c*e^4*x^4+4*c*d*e^3*x^3+6*c*d^2*e^2*x^2+4*c*d^3*e*x+b*e^2*x^2+c*d^4+2*b*d*e*x+b*
d^2+a)/(4*a*c-b^2)*d^3/e*b-f^4/(c*e^4*x^4+4*c*d*e^3*x^3+6*c*d^2*e^2*x^2+4*c*d^3*e*x+b*e^2*x^2+c*d^4+2*b*d*e*x+
b*d^2+a)/(4*a*c-b^2)*d/e*a+1/4*f^4/(4*a*c-b^2)/e*sum((-_R^2*b*e^2-2*_R*b*d*e-b*d^2+2*a)/(2*_R^3*c*e^3+6*_R^2*c
*d*e^2+6*_R*c*d^2*e+2*c*d^3+_R*b*e+b*d)*ln(-_R+x),_R=RootOf(_Z^4*c*e^4+4*_Z^3*c*d*e^3+c*d^4+b*d^2+(6*c*d^2*e^2
+b*e^2)*_Z^2+(4*c*d^3*e+2*b*d*e)*_Z+a))

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {1}{2} \, f^{4} \int -\frac {b e^{2} x^{2} + 2 \, b d e x + b d^{2} - 2 \, a}{{\left (b^{2} c - 4 \, a c^{2}\right )} e^{4} x^{4} + 4 \, {\left (b^{2} c - 4 \, a c^{2}\right )} d e^{3} x^{3} + {\left (b^{2} c - 4 \, a c^{2}\right )} d^{4} + {\left (b^{3} - 4 \, a b c + 6 \, {\left (b^{2} c - 4 \, a c^{2}\right )} d^{2}\right )} e^{2} x^{2} + a b^{2} - 4 \, a^{2} c + {\left (b^{3} - 4 \, a b c\right )} d^{2} + 2 \, {\left (2 \, {\left (b^{2} c - 4 \, a c^{2}\right )} d^{3} + {\left (b^{3} - 4 \, a b c\right )} d\right )} e x}\,{d x} + \frac {b e^{3} f^{4} x^{3} + 3 \, b d e^{2} f^{4} x^{2} + {\left (3 \, b d^{2} + 2 \, a\right )} e f^{4} x + {\left (b d^{3} + 2 \, a d\right )} f^{4}}{2 \, {\left ({\left (b^{2} c - 4 \, a c^{2}\right )} e^{5} x^{4} + 4 \, {\left (b^{2} c - 4 \, a c^{2}\right )} d e^{4} x^{3} + {\left (b^{3} - 4 \, a b c + 6 \, {\left (b^{2} c - 4 \, a c^{2}\right )} d^{2}\right )} e^{3} x^{2} + 2 \, {\left (2 \, {\left (b^{2} c - 4 \, a c^{2}\right )} d^{3} + {\left (b^{3} - 4 \, a b c\right )} d\right )} e^{2} x + {\left ({\left (b^{2} c - 4 \, a c^{2}\right )} d^{4} + a b^{2} - 4 \, a^{2} c + {\left (b^{3} - 4 \, a b c\right )} d^{2}\right )} e\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*f*x+d*f)^4/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x, algorithm="maxima")

[Out]

-1/2*f^4*integrate(-(b*e^2*x^2 + 2*b*d*e*x + b*d^2 - 2*a)/((b^2*c - 4*a*c^2)*e^4*x^4 + 4*(b^2*c - 4*a*c^2)*d*e
^3*x^3 + (b^2*c - 4*a*c^2)*d^4 + (b^3 - 4*a*b*c + 6*(b^2*c - 4*a*c^2)*d^2)*e^2*x^2 + a*b^2 - 4*a^2*c + (b^3 -
4*a*b*c)*d^2 + 2*(2*(b^2*c - 4*a*c^2)*d^3 + (b^3 - 4*a*b*c)*d)*e*x), x) + 1/2*(b*e^3*f^4*x^3 + 3*b*d*e^2*f^4*x
^2 + (3*b*d^2 + 2*a)*e*f^4*x + (b*d^3 + 2*a*d)*f^4)/((b^2*c - 4*a*c^2)*e^5*x^4 + 4*(b^2*c - 4*a*c^2)*d*e^4*x^3
 + (b^3 - 4*a*b*c + 6*(b^2*c - 4*a*c^2)*d^2)*e^3*x^2 + 2*(2*(b^2*c - 4*a*c^2)*d^3 + (b^3 - 4*a*b*c)*d)*e^2*x +
 ((b^2*c - 4*a*c^2)*d^4 + a*b^2 - 4*a^2*c + (b^3 - 4*a*b*c)*d^2)*e)

________________________________________________________________________________________

mupad [B]  time = 5.09, size = 8025, normalized size = 28.76 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*f + e*f*x)^4/(a + b*(d + e*x)^2 + c*(d + e*x)^4)^2,x)

[Out]

atan(((((2048*a^4*c^5*e^12*f^4 + 384*a^2*b^4*c^3*e^12*f^4 - 1536*a^3*b^2*c^4*e^12*f^4 - 32*a*b^6*c^2*e^12*f^4)
/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + ((64*b^9*c^2*d*e^13 - 1024*a*b^7*c^3*d*e^13 + 16384*a^
4*b*c^6*d*e^13 + 6144*a^2*b^5*c^4*d*e^13 - 16384*a^3*b^3*c^5*d*e^13)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 1
2*a*b^4*c)) + (x*(16*b^7*c^2*e^14 - 192*a*b^5*c^3*e^14 - 1024*a^3*b*c^5*e^14 + 768*a^2*b^3*c^4*e^14))/(2*(b^4
+ 16*a^2*c^2 - 8*a*b^2*c)))*(-(b^9*f^8 + f^8*(-(4*a*c - b^2)^9)^(1/2) - 768*a^4*b*c^4*f^8 - 96*a^2*b^5*c^2*f^8
 + 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^
3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2))*(-(b^9*f^8 + f^8*(-(4*a*c - b^2)^9)^(1/2
) - 768*a^4*b*c^4*f^8 - 96*a^2*b^5*c^2*f^8 + 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^
10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2)
 - (128*a^3*c^4*d*e^11*f^8 - 4*b^6*c*d*e^11*f^8 + 8*a*b^4*c^2*d*e^11*f^8)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^
2 - 12*a*b^4*c)) + (x*(b^4*c*e^12*f^8 + 8*a^2*c^3*e^12*f^8 + 2*a*b^2*c^2*e^12*f^8))/(2*(b^4 + 16*a^2*c^2 - 8*a
*b^2*c)))*(-(b^9*f^8 + f^8*(-(4*a*c - b^2)^9)^(1/2) - 768*a^4*b*c^4*f^8 - 96*a^2*b^5*c^2*f^8 + 512*a^3*b^3*c^3
*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 38
40*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2)*1i - ((128*a^3*c^4*d*e^11*f^8 - 4*b^6*c*d*e^11*f^8 + 8*a*b^
4*c^2*d*e^11*f^8)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + ((2048*a^4*c^5*e^12*f^4 + 384*a^2*b^4
*c^3*e^12*f^4 - 1536*a^3*b^2*c^4*e^12*f^4 - 32*a*b^6*c^2*e^12*f^4)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*
a*b^4*c)) - ((64*b^9*c^2*d*e^13 - 1024*a*b^7*c^3*d*e^13 + 16384*a^4*b*c^6*d*e^13 + 6144*a^2*b^5*c^4*d*e^13 - 1
6384*a^3*b^3*c^5*d*e^13)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (x*(16*b^7*c^2*e^14 - 192*a*b^
5*c^3*e^14 - 1024*a^3*b*c^5*e^14 + 768*a^2*b^3*c^4*e^14))/(2*(b^4 + 16*a^2*c^2 - 8*a*b^2*c)))*(-(b^9*f^8 + f^8
*(-(4*a*c - b^2)^9)^(1/2) - 768*a^4*b*c^4*f^8 - 96*a^2*b^5*c^2*f^8 + 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 40
96*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*
a^5*b^2*c^6*e^2)))^(1/2))*(-(b^9*f^8 + f^8*(-(4*a*c - b^2)^9)^(1/2) - 768*a^4*b*c^4*f^8 - 96*a^2*b^5*c^2*f^8 +
 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*
b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2) - (x*(b^4*c*e^12*f^8 + 8*a^2*c^3*e^12*f^8 +
 2*a*b^2*c^2*e^12*f^8))/(2*(b^4 + 16*a^2*c^2 - 8*a*b^2*c)))*(-(b^9*f^8 + f^8*(-(4*a*c - b^2)^9)^(1/2) - 768*a^
4*b*c^4*f^8 - 96*a^2*b^5*c^2*f^8 + 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2
 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2)*1i)/((((2
048*a^4*c^5*e^12*f^4 + 384*a^2*b^4*c^3*e^12*f^4 - 1536*a^3*b^2*c^4*e^12*f^4 - 32*a*b^6*c^2*e^12*f^4)/(8*(b^6 -
 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + ((64*b^9*c^2*d*e^13 - 1024*a*b^7*c^3*d*e^13 + 16384*a^4*b*c^6*d*
e^13 + 6144*a^2*b^5*c^4*d*e^13 - 16384*a^3*b^3*c^5*d*e^13)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)
) + (x*(16*b^7*c^2*e^14 - 192*a*b^5*c^3*e^14 - 1024*a^3*b*c^5*e^14 + 768*a^2*b^3*c^4*e^14))/(2*(b^4 + 16*a^2*c
^2 - 8*a*b^2*c)))*(-(b^9*f^8 + f^8*(-(4*a*c - b^2)^9)^(1/2) - 768*a^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4 + 384*a^2*b^4*c^3*e^12*f^4
 - 1536*a^3*b^2*c^4*e^12*f^4 - 32*a*b^6*c^2*e^12*f^4)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) - (
(64*b^9*c^2*d*e^13 - 1024*a*b^7*c^3*d*e^13 + 16384*a^4*b*c^6*d*e^13 + 6144*a^2*b^5*c^4*d*e^13 - 16384*a^3*b^3*
c^5*d*e^13)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (x*(16*b^7*c^2*e^14 - 192*a*b^5*c^3*e^14 -
1024*a^3*b*c^5*e^14 + 768*a^2*b^3*c^4*e^14))/(2*(b^4 + 16*a^2*c^2 - 8*a*b^2*c)))*(-(b^9*f^8 + f^8*(-(4*a*c - b
^2)^9)^(1/2) - 768*a^4*b*c^4*f^8 - 96*a^2*b^5*c^2*f^8 + 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^
2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e
^2)))^(1/2))*(-(b^9*f^8 + f^8*(-(4*a*c - b^2)^9)^(1/2) - 768*a^4*b*c^4*f^8 - 96*a^2*b^5*c^2*f^8 + 512*a^3*b^3*
c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 +
 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2) - (x*(b^4*c*e^12*f^8 + 8*a^2*c^3*e^12*f^8 + 2*a*b^2*c^2*
e^12*f^8))/(2*(b^4 + 16*a^2*c^2 - 8*a*b^2*c)))*(-(b^9*f^8 + f^8*(-(4*a*c - b^2)^9)^(1/2) - 768*a^4*b*c^4*f^8 -
 96*a^2*b^5*c^2*f^8 + 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^
8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2) - (3*a*b^3*c*e^10*f^12
 + 4*a^2*b*c^2*e^10*f^12)/(4*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c))))*(-(b^9*f^8 + f^8*(-(4*a*c - b
^2)^9)^(1/2) - 768*a^4*b*c^4*f^8 - 96*a^2*b^5*c^2*f^8 + 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^
2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e
^2)))^(1/2)*2i - ((x*(2*a*f^4 + 3*b*d^2*f^4))/(2*(4*a*c - b^2)) + (b*d^3*f^4 + 2*a*d*f^4)/(2*e*(4*a*c - b^2))
+ (b*e^2*f^4*x^3)/(2*(4*a*c - b^2)) + (3*b*d*e*f^4*x^2)/(2*(4*a*c - b^2)))/(a + x^2*(b*e^2 + 6*c*d^2*e^2) + b*
d^2 + c*d^4 + x*(2*b*d*e + 4*c*d^3*e) + c*e^4*x^4 + 4*c*d*e^3*x^3) + atan(((((2048*a^4*c^5*e^12*f^4 + 384*a^2*
b^4*c^3*e^12*f^4 - 1536*a^3*b^2*c^4*e^12*f^4 - 32*a*b^6*c^2*e^12*f^4)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 -
12*a*b^4*c)) + ((64*b^9*c^2*d*e^13 - 1024*a*b^7*c^3*d*e^13 + 16384*a^4*b*c^6*d*e^13 + 6144*a^2*b^5*c^4*d*e^13
- 16384*a^3*b^3*c^5*d*e^13)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (x*(16*b^7*c^2*e^14 - 192*a
*b^5*c^3*e^14 - 1024*a^3*b*c^5*e^14 + 768*a^2*b^3*c^4*e^14))/(2*(b^4 + 16*a^2*c^2 - 8*a*b^2*c)))*((f^8*(-(4*a*
c - b^2)^9)^(1/2) - b^9*f^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8 - 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 +
4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 614
4*a^5*b^2*c^6*e^2)))^(1/2))*((f^8*(-(4*a*c - b^2)^9)^(1/2) - b^9*f^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8
- 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3
*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2) - (128*a^3*c^4*d*e^11*f^8 - 4*b^6*c*d*e^11
*f^8 + 8*a*b^4*c^2*d*e^11*f^8)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (x*(b^4*c*e^12*f^8 + 8*a
^2*c^3*e^12*f^8 + 2*a*b^2*c^2*e^12*f^8))/(2*(b^4 + 16*a^2*c^2 - 8*a*b^2*c)))*((f^8*(-(4*a*c - b^2)^9)^(1/2) -
b^9*f^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8 - 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 2
4*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))
^(1/2)*1i - ((128*a^3*c^4*d*e^11*f^8 - 4*b^6*c*d*e^11*f^8 + 8*a*b^4*c^2*d*e^11*f^8)/(8*(b^6 - 64*a^3*c^3 + 48*
a^2*b^2*c^2 - 12*a*b^4*c)) + ((2048*a^4*c^5*e^12*f^4 + 384*a^2*b^4*c^3*e^12*f^4 - 1536*a^3*b^2*c^4*e^12*f^4 -
32*a*b^6*c^2*e^12*f^4)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) - ((64*b^9*c^2*d*e^13 - 1024*a*b^7
*c^3*d*e^13 + 16384*a^4*b*c^6*d*e^13 + 6144*a^2*b^5*c^4*d*e^13 - 16384*a^3*b^3*c^5*d*e^13)/(8*(b^6 - 64*a^3*c^
3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (x*(16*b^7*c^2*e^14 - 192*a*b^5*c^3*e^14 - 1024*a^3*b*c^5*e^14 + 768*a^2*b
^3*c^4*e^14))/(2*(b^4 + 16*a^2*c^2 - 8*a*b^2*c)))*((f^8*(-(4*a*c - b^2)^9)^(1/2) - b^9*f^8 + 768*a^4*b*c^4*f^8
 + 96*a^2*b^5*c^2*f^8 - 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*
b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2))*((f^8*(-(4*a*c - b^
2)^9)^(1/2) - b^9*f^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8 - 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a
^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*
b^2*c^6*e^2)))^(1/2) - (x*(b^4*c*e^12*f^8 + 8*a^2*c^3*e^12*f^8 + 2*a*b^2*c^2*e^12*f^8))/(2*(b^4 + 16*a^2*c^2 -
 8*a*b^2*c)))*((f^8*(-(4*a*c - b^2)^9)^(1/2) - b^9*f^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8 - 512*a^3*b^3*
c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 +
 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2)*1i)/((((2048*a^4*c^5*e^12*f^4 + 384*a^2*b^4*c^3*e^12*f^4
 - 1536*a^3*b^2*c^4*e^12*f^4 - 32*a*b^6*c^2*e^12*f^4)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (
(64*b^9*c^2*d*e^13 - 1024*a*b^7*c^3*d*e^13 + 16384*a^4*b*c^6*d*e^13 + 6144*a^2*b^5*c^4*d*e^13 - 16384*a^3*b^3*
c^5*d*e^13)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (x*(16*b^7*c^2*e^14 - 192*a*b^5*c^3*e^14 -
1024*a^3*b*c^5*e^14 + 768*a^2*b^3*c^4*e^14))/(2*(b^4 + 16*a^2*c^2 - 8*a*b^2*c)))*((f^8*(-(4*a*c - b^2)^9)^(1/2
) - b^9*f^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8 - 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2
 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^
2)))^(1/2))*((f^8*(-(4*a*c - b^2)^9)^(1/2) - b^9*f^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8 - 512*a^3*b^3*c^
3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3
840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2) - (128*a^3*c^4*d*e^11*f^8 - 4*b^6*c*d*e^11*f^8 + 8*a*b^4*c
^2*d*e^11*f^8)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (x*(b^4*c*e^12*f^8 + 8*a^2*c^3*e^12*f^8
+ 2*a*b^2*c^2*e^12*f^8))/(2*(b^4 + 16*a^2*c^2 - 8*a*b^2*c)))*((f^8*(-(4*a*c - b^2)^9)^(1/2) - b^9*f^8 + 768*a^
4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8 - 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2
 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2) + ((128*a
^3*c^4*d*e^11*f^8 - 4*b^6*c*d*e^11*f^8 + 8*a*b^4*c^2*d*e^11*f^8)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*
b^4*c)) + ((2048*a^4*c^5*e^12*f^4 + 384*a^2*b^4*c^3*e^12*f^4 - 1536*a^3*b^2*c^4*e^12*f^4 - 32*a*b^6*c^2*e^12*f
^4)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) - ((64*b^9*c^2*d*e^13 - 1024*a*b^7*c^3*d*e^13 + 16384
*a^4*b*c^6*d*e^13 + 6144*a^2*b^5*c^4*d*e^13 - 16384*a^3*b^3*c^5*d*e^13)/(8*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2
- 12*a*b^4*c)) + (x*(16*b^7*c^2*e^14 - 192*a*b^5*c^3*e^14 - 1024*a^3*b*c^5*e^14 + 768*a^2*b^3*c^4*e^14))/(2*(b
^4 + 16*a^2*c^2 - 8*a*b^2*c)))*((f^8*(-(4*a*c - b^2)^9)^(1/2) - b^9*f^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f
^8 - 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*
a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2))*((f^8*(-(4*a*c - b^2)^9)^(1/2) - b^9*f
^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8 - 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b
^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2
) - (x*(b^4*c*e^12*f^8 + 8*a^2*c^3*e^12*f^8 + 2*a*b^2*c^2*e^12*f^8))/(2*(b^4 + 16*a^2*c^2 - 8*a*b^2*c)))*((f^8
*(-(4*a*c - b^2)^9)^(1/2) - b^9*f^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8 - 512*a^3*b^3*c^3*f^8)/(32*(b^12*
c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e
^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2) - (3*a*b^3*c*e^10*f^12 + 4*a^2*b*c^2*e^10*f^12)/(4*(b^6 - 64*a^3*c^3 + 48*a
^2*b^2*c^2 - 12*a*b^4*c))))*((f^8*(-(4*a*c - b^2)^9)^(1/2) - b^9*f^8 + 768*a^4*b*c^4*f^8 + 96*a^2*b^5*c^2*f^8
- 512*a^3*b^3*c^3*f^8)/(32*(b^12*c*e^2 + 4096*a^6*c^7*e^2 - 24*a*b^10*c^2*e^2 + 240*a^2*b^8*c^3*e^2 - 1280*a^3
*b^6*c^4*e^2 + 3840*a^4*b^4*c^5*e^2 - 6144*a^5*b^2*c^6*e^2)))^(1/2)*2i

________________________________________________________________________________________

sympy [B]  time = 9.82, size = 641, normalized size = 2.30 \[ \frac {- 2 a d f^{4} - b d^{3} f^{4} - 3 b d e^{2} f^{4} x^{2} - b e^{3} f^{4} x^{3} + x \left (- 2 a e f^{4} - 3 b d^{2} e f^{4}\right )}{8 a^{2} c e - 2 a b^{2} e + 8 a b c d^{2} e + 8 a c^{2} d^{4} e - 2 b^{3} d^{2} e - 2 b^{2} c d^{4} e + x^{4} \left (8 a c^{2} e^{5} - 2 b^{2} c e^{5}\right ) + x^{3} \left (32 a c^{2} d e^{4} - 8 b^{2} c d e^{4}\right ) + x^{2} \left (8 a b c e^{3} + 48 a c^{2} d^{2} e^{3} - 2 b^{3} e^{3} - 12 b^{2} c d^{2} e^{3}\right ) + x \left (16 a b c d e^{2} + 32 a c^{2} d^{3} e^{2} - 4 b^{3} d e^{2} - 8 b^{2} c d^{3} e^{2}\right )} + \operatorname {RootSum} {\left (t^{4} \left (1048576 a^{6} c^{7} e^{4} - 1572864 a^{5} b^{2} c^{6} e^{4} + 983040 a^{4} b^{4} c^{5} e^{4} - 327680 a^{3} b^{6} c^{4} e^{4} + 61440 a^{2} b^{8} c^{3} e^{4} - 6144 a b^{10} c^{2} e^{4} + 256 b^{12} c e^{4}\right ) + t^{2} \left (- 12288 a^{4} b c^{4} e^{2} f^{8} + 8192 a^{3} b^{3} c^{3} e^{2} f^{8} - 1536 a^{2} b^{5} c^{2} e^{2} f^{8} + 16 b^{9} e^{2} f^{8}\right ) + 16 a^{3} c^{2} f^{16} + 24 a^{2} b^{2} c f^{16} + 9 a b^{4} f^{16}, \left (t \mapsto t \log {\left (x + \frac {16384 t^{3} a^{3} b c^{4} e^{3} - 12288 t^{3} a^{2} b^{3} c^{3} e^{3} + 3072 t^{3} a b^{5} c^{2} e^{3} - 256 t^{3} b^{7} c e^{3} + 64 t a^{2} c^{2} e f^{8} - 128 t a b^{2} c e f^{8} - 4 t b^{4} e f^{8} + 4 a c d f^{12} + 3 b^{2} d f^{12}}{4 a c e f^{12} + 3 b^{2} e f^{12}} \right )} \right )\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*f*x+d*f)**4/(a+b*(e*x+d)**2+c*(e*x+d)**4)**2,x)

[Out]

(-2*a*d*f**4 - b*d**3*f**4 - 3*b*d*e**2*f**4*x**2 - b*e**3*f**4*x**3 + x*(-2*a*e*f**4 - 3*b*d**2*e*f**4))/(8*a
**2*c*e - 2*a*b**2*e + 8*a*b*c*d**2*e + 8*a*c**2*d**4*e - 2*b**3*d**2*e - 2*b**2*c*d**4*e + x**4*(8*a*c**2*e**
5 - 2*b**2*c*e**5) + x**3*(32*a*c**2*d*e**4 - 8*b**2*c*d*e**4) + x**2*(8*a*b*c*e**3 + 48*a*c**2*d**2*e**3 - 2*
b**3*e**3 - 12*b**2*c*d**2*e**3) + x*(16*a*b*c*d*e**2 + 32*a*c**2*d**3*e**2 - 4*b**3*d*e**2 - 8*b**2*c*d**3*e*
*2)) + RootSum(_t**4*(1048576*a**6*c**7*e**4 - 1572864*a**5*b**2*c**6*e**4 + 983040*a**4*b**4*c**5*e**4 - 3276
80*a**3*b**6*c**4*e**4 + 61440*a**2*b**8*c**3*e**4 - 6144*a*b**10*c**2*e**4 + 256*b**12*c*e**4) + _t**2*(-1228
8*a**4*b*c**4*e**2*f**8 + 8192*a**3*b**3*c**3*e**2*f**8 - 1536*a**2*b**5*c**2*e**2*f**8 + 16*b**9*e**2*f**8) +
 16*a**3*c**2*f**16 + 24*a**2*b**2*c*f**16 + 9*a*b**4*f**16, Lambda(_t, _t*log(x + (16384*_t**3*a**3*b*c**4*e*
*3 - 12288*_t**3*a**2*b**3*c**3*e**3 + 3072*_t**3*a*b**5*c**2*e**3 - 256*_t**3*b**7*c*e**3 + 64*_t*a**2*c**2*e
*f**8 - 128*_t*a*b**2*c*e*f**8 - 4*_t*b**4*e*f**8 + 4*a*c*d*f**12 + 3*b**2*d*f**12)/(4*a*c*e*f**12 + 3*b**2*e*
f**12))))

________________________________________________________________________________________